import request from '@/utils/request'

export function managerLogin(data = {}) {
  return request({
    url: '/punc/manager/login',
    method: 'post',
    data
  })
}

export function teacherLogin(data = {}) {
  return request({
    url: '/punc/teacher/login',
    method: 'post',
    data
  })
}

export function getInfo() {
  return request({
    url: '/punc/user/get',
    method: 'post'
  })
}
